<!DOCTYPE html>
<html>

	<head>				
		<script src="/jquery-1.2.6.min.js" type="text/javascript"> </script>
		<script src="/bbcode.js" type="text/javascript"> </script>
		<link href="/code.css" rel="stylesheet" type="text/css"></link>
	</head>
	
	<body style="background-color:#f9f9f9;font-family:Arial, Helvetica, sans-serif;">
	
	<h1>Postmarkup test server</h1>
	<p style="color:#666;">
	This is a quick and dirty test for <a href="http://code.google.com/p/postmarkup/">Postmarkup</a>, a <a href="http://en.wikipedia.org/wiki/BBCode">bbcode</a> rendering engine for Python. Example tags: [b] [i] [u] [s] [color] [size] [link] [img] [list] [code] [center] [quote]
	</p>
		
	<div style=" padding:2px;">
	
	
	<div id="bbcode_input" style="float:left;display:inline;width:49.5%;background-color:#eef;border:1px solid #bbb;">
	
	<div style="width:auto; padding:4px;">Enter BBcode here:</div>
	<div>		
		<form style="padding:0px;margin:0px;border:no-border";>	
			<textarea id="bbcode_textarea" style="width:100%;height:600px;padding:0px;margin:0px;border:none;">
[center][size 32]Some sample bbcode[/size][/center]
[color red]Postmarkup[/color] is easily customizable; existing tags can be disabled and new ones added.
[list]
[*] Thread-safe
[*] Clean-markup
[*] Handles overlapping tags
e.g. [b]Bold [i]Bold and Italic[/b] Italic[/i]
[*] Automatic links, e.g. http://www.willmcgugan.com/blog/tech/search/?s=postmarkup
[*] Cosmetic replace for various characters: 'quotes' "Speech quotes" -- --- ... (c) (reg) (tm)
[*] Syntax Highlighting code tag.
e.g. 
[code python]
class DefaultTag(TagBase):	
    def __init__(self, name, **kwargs):
        TagBase.__init__(self,
                         name,
                         auto_close=True,
                         inline=True,
                         **kwargs)
        				         
    def render_open(self, parser, node_index):
        return _escape(self.get_outer_contents(parser)) 
[/code]
[/list]
</textarea>		
		</form>
	</div>
	
	</div>	
	
	<div id="bbcode_output" style="float:right;display:inline;width:49%;">			
	<div id="bbcode" style="padding:4px;border:1px solid #d5d5d5;background-color:#fff;overflow:auto;">
		&nbsp;
	</div>	
	</div>	
	
	</div>
	<div style="clear:both;"> &nbsp; </div>

	<a href="http://www.willmcgugan.com/contact/">http://www.willmcgugan.com</a>

	</body>

</html>